package com.ziytek.web.citizen.event;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author fengh
 */
@Getter
@Setter
@AllArgsConstructor
@ToString
public class WholeCommandIssuedEvent {
    private long timestamp;
    private Long stepId;
    private Long cabinetNo;
    private Integer orderNo;

    public WholeCommandIssuedEvent(Long cabinetNo, Long stepId, Integer orderNo) {
        this.stepId = stepId;
        this.orderNo = orderNo;
        this.cabinetNo = cabinetNo;
        this.timestamp = System.currentTimeMillis();
    }
}
